package com.cssw.fyzb.job.executor.util;

import java.util.Collection;

/**
 * @author Feng Chen
 */
public class CollectionUtil {


    public static  <T> boolean isNotEmpty(Collection<T> collection){
        return !isEmpty(collection);
    }

    public static  <T> boolean isEmpty(Collection<T> collection) {
        return collection == null || collection.size() == 0;
    }

}
